package com.team.employment.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName job_application
 */
@TableName(value ="job_application")
@Data
public class JobApplication {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 招聘信息id
     */
    @TableField(value = "recruitment_id")
    private Long recruitmentId;

    /**
     * 简历ID
     */
    @TableField(value = "resume_id")
    private Long resumeId;

    /**
     * 状态：0-已投递  1-已拒绝 2-已接受
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 投递时间
     */
    @TableField(value = "apply_time")
    private Date applyTime;

    /**
     * 公司处理时间
     */
    @TableField(value = "feedback_time")
    private Date feedbackTime;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;
}